package com.wfh.bean;

import android.os.Parcel;
import android.os.Parcelable;

//":[{"banner_id":"1","shop_id":"1","img":".\/Public\/uploadfile\/banner\/1367741919.png","url":"www","bak":"d","position":"1","review":"1","status":"0"}]}

public class ShopBean implements Parcelable{

	private String shop_id;
	private String shop_name;
	private String shop_address;
	private String shop_tel;
	private String shop_person;
	private String shop_phone;
	private String longitude;
	private String latitude;
	private String bak;
	
	
	public String getShop_id() {
		return shop_id;
	}
	public void setShop_id(String shop_id) {
		this.shop_id = shop_id;
	}
	public String getShop_name() {
		return shop_name;
	}
	public void setShop_name(String shop_name) {
		this.shop_name = shop_name;
	}

	public String getShop_address() {
		return shop_address;
	}
	public void setShop_address(String shop_address) {
		this.shop_address = shop_address;
	}
	public String getShop_tel() {
		return shop_tel;
	}
	public void setShop_tel(String shop_tel) {
		this.shop_tel = shop_tel;
	}
	public String getShop_person() {
		return shop_person;
	}
	public void setShop_person(String shop_person) {
		this.shop_person = shop_person;
	}
	public String getShop_phone() {
		return shop_phone;
	}
	public void setShop_phone(String shop_phone) {
		this.shop_phone = shop_phone;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getBak() {
		return bak;
	}
	public void setBak(String bak) {
		this.bak = bak;
	}
	public static Parcelable.Creator<ShopBean> getCreator() {
		return CREATOR;
	}
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(shop_id);
		dest.writeString(shop_name);
		dest.writeString(shop_address);
		dest.writeString(shop_tel);
		dest.writeString(shop_person);
		dest.writeString(shop_phone);
		dest.writeString(longitude);
		dest.writeString(latitude);
		dest.writeString(bak);

	}
	public static final Parcelable.Creator<ShopBean> CREATOR = new Creator<ShopBean>() {
		@Override
		public ShopBean createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			ShopBean bean = new ShopBean();
			bean.shop_id = source.readString();
			bean.shop_name = source.readString();
			bean.shop_address = source.readString();
			bean.shop_tel = source.readString();
			bean.shop_person = source.readString();
			bean.shop_phone = source.readString();
			bean.longitude = source.readString();
			bean.latitude = source.readString();
			bean.bak = source.readString();
			return bean;
		}

		@Override
		public ShopBean[] newArray(int size) {
			// TODO Auto-generated method stub
			return new ShopBean[size];
		}

	};
}
